package com.example.demo.common.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Leave_RecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public Leave_RecordExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLidIsNull() {
            addCriterion("lid is null");
            return (Criteria) this;
        }

        public Criteria andLidIsNotNull() {
            addCriterion("lid is not null");
            return (Criteria) this;
        }

        public Criteria andLidEqualTo(Integer value) {
            addCriterion("lid =", value, "lid");
            return (Criteria) this;
        }

        public Criteria andLidNotEqualTo(Integer value) {
            addCriterion("lid <>", value, "lid");
            return (Criteria) this;
        }

        public Criteria andLidGreaterThan(Integer value) {
            addCriterion("lid >", value, "lid");
            return (Criteria) this;
        }

        public Criteria andLidGreaterThanOrEqualTo(Integer value) {
            addCriterion("lid >=", value, "lid");
            return (Criteria) this;
        }

        public Criteria andLidLessThan(Integer value) {
            addCriterion("lid <", value, "lid");
            return (Criteria) this;
        }

        public Criteria andLidLessThanOrEqualTo(Integer value) {
            addCriterion("lid <=", value, "lid");
            return (Criteria) this;
        }

        public Criteria andLidIn(List<Integer> values) {
            addCriterion("lid in", values, "lid");
            return (Criteria) this;
        }

        public Criteria andLidNotIn(List<Integer> values) {
            addCriterion("lid not in", values, "lid");
            return (Criteria) this;
        }

        public Criteria andLidBetween(Integer value1, Integer value2) {
            addCriterion("lid between", value1, value2, "lid");
            return (Criteria) this;
        }

        public Criteria andLidNotBetween(Integer value1, Integer value2) {
            addCriterion("lid not between", value1, value2, "lid");
            return (Criteria) this;
        }

        public Criteria andGidIsNull() {
            addCriterion("gid is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("gid is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("gid =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("gid <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("gid >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("gid >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("gid <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("gid <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("gid in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("gid not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("gid between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("gid not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andFidIsNull() {
            addCriterion("fid is null");
            return (Criteria) this;
        }

        public Criteria andFidIsNotNull() {
            addCriterion("fid is not null");
            return (Criteria) this;
        }

        public Criteria andFidEqualTo(Integer value) {
            addCriterion("fid =", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotEqualTo(Integer value) {
            addCriterion("fid <>", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThan(Integer value) {
            addCriterion("fid >", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fid >=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThan(Integer value) {
            addCriterion("fid <", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThanOrEqualTo(Integer value) {
            addCriterion("fid <=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidIn(List<Integer> values) {
            addCriterion("fid in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotIn(List<Integer> values) {
            addCriterion("fid not in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidBetween(Integer value1, Integer value2) {
            addCriterion("fid between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotBetween(Integer value1, Integer value2) {
            addCriterion("fid not between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andExeidIsNull() {
            addCriterion("exeId is null");
            return (Criteria) this;
        }

        public Criteria andExeidIsNotNull() {
            addCriterion("exeId is not null");
            return (Criteria) this;
        }

        public Criteria andExeidEqualTo(Integer value) {
            addCriterion("exeId =", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidNotEqualTo(Integer value) {
            addCriterion("exeId <>", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidGreaterThan(Integer value) {
            addCriterion("exeId >", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("exeId >=", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidLessThan(Integer value) {
            addCriterion("exeId <", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidLessThanOrEqualTo(Integer value) {
            addCriterion("exeId <=", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidIn(List<Integer> values) {
            addCriterion("exeId in", values, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidNotIn(List<Integer> values) {
            addCriterion("exeId not in", values, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidBetween(Integer value1, Integer value2) {
            addCriterion("exeId between", value1, value2, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidNotBetween(Integer value1, Integer value2) {
            addCriterion("exeId not between", value1, value2, "exeid");
            return (Criteria) this;
        }

        public Criteria andDividIsNull() {
            addCriterion("divId is null");
            return (Criteria) this;
        }

        public Criteria andDividIsNotNull() {
            addCriterion("divId is not null");
            return (Criteria) this;
        }

        public Criteria andDividEqualTo(Integer value) {
            addCriterion("divId =", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividNotEqualTo(Integer value) {
            addCriterion("divId <>", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividGreaterThan(Integer value) {
            addCriterion("divId >", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividGreaterThanOrEqualTo(Integer value) {
            addCriterion("divId >=", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividLessThan(Integer value) {
            addCriterion("divId <", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividLessThanOrEqualTo(Integer value) {
            addCriterion("divId <=", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividIn(List<Integer> values) {
            addCriterion("divId in", values, "divid");
            return (Criteria) this;
        }

        public Criteria andDividNotIn(List<Integer> values) {
            addCriterion("divId not in", values, "divid");
            return (Criteria) this;
        }

        public Criteria andDividBetween(Integer value1, Integer value2) {
            addCriterion("divId between", value1, value2, "divid");
            return (Criteria) this;
        }

        public Criteria andDividNotBetween(Integer value1, Integer value2) {
            addCriterion("divId not between", value1, value2, "divid");
            return (Criteria) this;
        }

        public Criteria andEidIsNull() {
            addCriterion("eid is null");
            return (Criteria) this;
        }

        public Criteria andEidIsNotNull() {
            addCriterion("eid is not null");
            return (Criteria) this;
        }

        public Criteria andEidEqualTo(Integer value) {
            addCriterion("eid =", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidNotEqualTo(Integer value) {
            addCriterion("eid <>", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidGreaterThan(Integer value) {
            addCriterion("eid >", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidGreaterThanOrEqualTo(Integer value) {
            addCriterion("eid >=", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidLessThan(Integer value) {
            addCriterion("eid <", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidLessThanOrEqualTo(Integer value) {
            addCriterion("eid <=", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidIn(List<Integer> values) {
            addCriterion("eid in", values, "eid");
            return (Criteria) this;
        }

        public Criteria andEidNotIn(List<Integer> values) {
            addCriterion("eid not in", values, "eid");
            return (Criteria) this;
        }

        public Criteria andEidBetween(Integer value1, Integer value2) {
            addCriterion("eid between", value1, value2, "eid");
            return (Criteria) this;
        }

        public Criteria andEidNotBetween(Integer value1, Integer value2) {
            addCriterion("eid not between", value1, value2, "eid");
            return (Criteria) this;
        }

        public Criteria andDidIsNull() {
            addCriterion("did is null");
            return (Criteria) this;
        }

        public Criteria andDidIsNotNull() {
            addCriterion("did is not null");
            return (Criteria) this;
        }

        public Criteria andDidEqualTo(Integer value) {
            addCriterion("did =", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotEqualTo(Integer value) {
            addCriterion("did <>", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThan(Integer value) {
            addCriterion("did >", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThanOrEqualTo(Integer value) {
            addCriterion("did >=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThan(Integer value) {
            addCriterion("did <", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThanOrEqualTo(Integer value) {
            addCriterion("did <=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidIn(List<Integer> values) {
            addCriterion("did in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotIn(List<Integer> values) {
            addCriterion("did not in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidBetween(Integer value1, Integer value2) {
            addCriterion("did between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotBetween(Integer value1, Integer value2) {
            addCriterion("did not between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andLstarttimeIsNull() {
            addCriterion("lStartTime is null");
            return (Criteria) this;
        }

        public Criteria andLstarttimeIsNotNull() {
            addCriterion("lStartTime is not null");
            return (Criteria) this;
        }

        public Criteria andLstarttimeEqualTo(Date value) {
            addCriterion("lStartTime =", value, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeNotEqualTo(Date value) {
            addCriterion("lStartTime <>", value, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeGreaterThan(Date value) {
            addCriterion("lStartTime >", value, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lStartTime >=", value, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeLessThan(Date value) {
            addCriterion("lStartTime <", value, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeLessThanOrEqualTo(Date value) {
            addCriterion("lStartTime <=", value, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeIn(List<Date> values) {
            addCriterion("lStartTime in", values, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeNotIn(List<Date> values) {
            addCriterion("lStartTime not in", values, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeBetween(Date value1, Date value2) {
            addCriterion("lStartTime between", value1, value2, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLstarttimeNotBetween(Date value1, Date value2) {
            addCriterion("lStartTime not between", value1, value2, "lstarttime");
            return (Criteria) this;
        }

        public Criteria andLendtimeIsNull() {
            addCriterion("lEndTime is null");
            return (Criteria) this;
        }

        public Criteria andLendtimeIsNotNull() {
            addCriterion("lEndTime is not null");
            return (Criteria) this;
        }

        public Criteria andLendtimeEqualTo(Date value) {
            addCriterion("lEndTime =", value, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeNotEqualTo(Date value) {
            addCriterion("lEndTime <>", value, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeGreaterThan(Date value) {
            addCriterion("lEndTime >", value, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lEndTime >=", value, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeLessThan(Date value) {
            addCriterion("lEndTime <", value, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeLessThanOrEqualTo(Date value) {
            addCriterion("lEndTime <=", value, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeIn(List<Date> values) {
            addCriterion("lEndTime in", values, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeNotIn(List<Date> values) {
            addCriterion("lEndTime not in", values, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeBetween(Date value1, Date value2) {
            addCriterion("lEndTime between", value1, value2, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLendtimeNotBetween(Date value1, Date value2) {
            addCriterion("lEndTime not between", value1, value2, "lendtime");
            return (Criteria) this;
        }

        public Criteria andLtypeIsNull() {
            addCriterion("lType is null");
            return (Criteria) this;
        }

        public Criteria andLtypeIsNotNull() {
            addCriterion("lType is not null");
            return (Criteria) this;
        }

        public Criteria andLtypeEqualTo(String value) {
            addCriterion("lType =", value, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeNotEqualTo(String value) {
            addCriterion("lType <>", value, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeGreaterThan(String value) {
            addCriterion("lType >", value, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeGreaterThanOrEqualTo(String value) {
            addCriterion("lType >=", value, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeLessThan(String value) {
            addCriterion("lType <", value, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeLessThanOrEqualTo(String value) {
            addCriterion("lType <=", value, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeLike(String value) {
            addCriterion("lType like", value, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeNotLike(String value) {
            addCriterion("lType not like", value, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeIn(List<String> values) {
            addCriterion("lType in", values, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeNotIn(List<String> values) {
            addCriterion("lType not in", values, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeBetween(String value1, String value2) {
            addCriterion("lType between", value1, value2, "ltype");
            return (Criteria) this;
        }

        public Criteria andLtypeNotBetween(String value1, String value2) {
            addCriterion("lType not between", value1, value2, "ltype");
            return (Criteria) this;
        }

        public Criteria andLdescriptionIsNull() {
            addCriterion("lDescription is null");
            return (Criteria) this;
        }

        public Criteria andLdescriptionIsNotNull() {
            addCriterion("lDescription is not null");
            return (Criteria) this;
        }

        public Criteria andLdescriptionEqualTo(String value) {
            addCriterion("lDescription =", value, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionNotEqualTo(String value) {
            addCriterion("lDescription <>", value, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionGreaterThan(String value) {
            addCriterion("lDescription >", value, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("lDescription >=", value, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionLessThan(String value) {
            addCriterion("lDescription <", value, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionLessThanOrEqualTo(String value) {
            addCriterion("lDescription <=", value, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionLike(String value) {
            addCriterion("lDescription like", value, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionNotLike(String value) {
            addCriterion("lDescription not like", value, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionIn(List<String> values) {
            addCriterion("lDescription in", values, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionNotIn(List<String> values) {
            addCriterion("lDescription not in", values, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionBetween(String value1, String value2) {
            addCriterion("lDescription between", value1, value2, "ldescription");
            return (Criteria) this;
        }

        public Criteria andLdescriptionNotBetween(String value1, String value2) {
            addCriterion("lDescription not between", value1, value2, "ldescription");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeIsNull() {
            addCriterion("GeneralAgree is null");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeIsNotNull() {
            addCriterion("GeneralAgree is not null");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeEqualTo(Integer value) {
            addCriterion("GeneralAgree =", value, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeNotEqualTo(Integer value) {
            addCriterion("GeneralAgree <>", value, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeGreaterThan(Integer value) {
            addCriterion("GeneralAgree >", value, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeGreaterThanOrEqualTo(Integer value) {
            addCriterion("GeneralAgree >=", value, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeLessThan(Integer value) {
            addCriterion("GeneralAgree <", value, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeLessThanOrEqualTo(Integer value) {
            addCriterion("GeneralAgree <=", value, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeIn(List<Integer> values) {
            addCriterion("GeneralAgree in", values, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeNotIn(List<Integer> values) {
            addCriterion("GeneralAgree not in", values, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeBetween(Integer value1, Integer value2) {
            addCriterion("GeneralAgree between", value1, value2, "generalagree");
            return (Criteria) this;
        }

        public Criteria andGeneralagreeNotBetween(Integer value1, Integer value2) {
            addCriterion("GeneralAgree not between", value1, value2, "generalagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeIsNull() {
            addCriterion("DeputyAgree is null");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeIsNotNull() {
            addCriterion("DeputyAgree is not null");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeEqualTo(Integer value) {
            addCriterion("DeputyAgree =", value, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeNotEqualTo(Integer value) {
            addCriterion("DeputyAgree <>", value, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeGreaterThan(Integer value) {
            addCriterion("DeputyAgree >", value, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeGreaterThanOrEqualTo(Integer value) {
            addCriterion("DeputyAgree >=", value, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeLessThan(Integer value) {
            addCriterion("DeputyAgree <", value, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeLessThanOrEqualTo(Integer value) {
            addCriterion("DeputyAgree <=", value, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeIn(List<Integer> values) {
            addCriterion("DeputyAgree in", values, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeNotIn(List<Integer> values) {
            addCriterion("DeputyAgree not in", values, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeBetween(Integer value1, Integer value2) {
            addCriterion("DeputyAgree between", value1, value2, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDeputyagreeNotBetween(Integer value1, Integer value2) {
            addCriterion("DeputyAgree not between", value1, value2, "deputyagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeIsNull() {
            addCriterion("DividAgree is null");
            return (Criteria) this;
        }

        public Criteria andDividagreeIsNotNull() {
            addCriterion("DividAgree is not null");
            return (Criteria) this;
        }

        public Criteria andDividagreeEqualTo(Integer value) {
            addCriterion("DividAgree =", value, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeNotEqualTo(Integer value) {
            addCriterion("DividAgree <>", value, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeGreaterThan(Integer value) {
            addCriterion("DividAgree >", value, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeGreaterThanOrEqualTo(Integer value) {
            addCriterion("DividAgree >=", value, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeLessThan(Integer value) {
            addCriterion("DividAgree <", value, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeLessThanOrEqualTo(Integer value) {
            addCriterion("DividAgree <=", value, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeIn(List<Integer> values) {
            addCriterion("DividAgree in", values, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeNotIn(List<Integer> values) {
            addCriterion("DividAgree not in", values, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeBetween(Integer value1, Integer value2) {
            addCriterion("DividAgree between", value1, value2, "dividagree");
            return (Criteria) this;
        }

        public Criteria andDividagreeNotBetween(Integer value1, Integer value2) {
            addCriterion("DividAgree not between", value1, value2, "dividagree");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}